<template>
  <a-config-provider
    :autoInsertSpaceInButton="false"
    :locale="zhCN"
    :theme="{
      token: {
        colorPrimary: '#267DF7',
        colorPrimaryHover: '#4996ff',
        colorPrimaryActive: '#4996ff',
        borderRadius: '2px',
      },
    }"
  >
    <router-view />
  </a-config-provider>
</template>

<script setup lang="ts">
  // 国际化
  import zhCN from "ant-design-vue/es/locale/zh_CN"
  import dayjs from "dayjs"
  import "dayjs/locale/zh-cn"
</script>
